//
//  RefundFooterVeiw.m
//  CenturyCity
//
//  Created by beisheng03 on 2018/1/16.
//  Copyright © 2018年 beisheng. All rights reserved.
//

#import "RefundFooterVeiw.h"

@interface RefundFooterVeiw ()
@property (weak, nonatomic) IBOutlet UILabel *topLabel;
@property (weak, nonatomic) IBOutlet UILabel *bottomLabel;

@end

@implementation RefundFooterVeiw

-(void)awakeFromNib{
    
    [super awakeFromNib];
    
    self.topLabel.font = [UIFont boldSystemFontOfSize:16];
    
    self.bottomLabel.font = MYFONT(15);
    
    self.bottomLabel.textColor = darkGray;
    
    self.backgroundColor = viewBgGrey;
}

- (void)setType:(NSString *)type{
    _type = type;
    
    if (_type.length > 0) {
        
        self.topLabel.text = @"等待商家收货";
        
    }else{
        
        self.topLabel.text = @"等待商家处理退款申请";

        
    }
    
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
